package com.tenebrous.jestic.mapper.idao.framwork.meber.author;

import com.tenebrous.jestic.entity.framwork.meber.author.AuthMenu;
import com.tenebrous.jestic.mapper.ISuperMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

//@Mapper
public interface AuthMenuMapper extends ISuperMapper<AuthMenu> {

    @Select("SELECT A.* FROM AUTH_MENU A ORDER BY A.LEVE,A.SORT")
    List<AuthMenu> selectByCondition();

    List<AuthMenu> selectByRoleids(@Param("roleids") String[] roleids);
}